package com.example.app.entity;


public class ReservationInfoResponse {
    private boolean success; // 表示操作是否成功
    private String message; // 操作的提示信息，比如成功时返回"预订成功"，失败时返回错误原因
    private String reservationId; // 预订的唯一标识
    private String startTime; // 预订的开始时间
    private String endTime; // 预订的结束时间
    private String plateNumber; // 车牌号码
    private String plateUrl; // 图片地址
    private String userId; // 用户标识

    private String plateParkId;

    private String price;

    public ReservationInfoResponse(boolean success, String message, String reservationId, String startTime, String endTime, String plateNumber, String plateUrl, String userId, String plateParkId, String price) {
        this.success = success;
        this.message = message;
        this.reservationId = reservationId;
        this.startTime = startTime;
        this.endTime = endTime;
        this.plateNumber = plateNumber;
        this.plateUrl = plateUrl;
        this.userId = userId;
        this.plateParkId = plateParkId;
        this.price = price;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getReservationId() {
        return reservationId;
    }

    public void setReservationId(String reservationId) {
        this.reservationId = reservationId;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getPlateNumber() {
        return plateNumber;
    }

    public void setPlateNumber(String plateNumber) {
        this.plateNumber = plateNumber;
    }

    public String getPlateUrl() {
        return plateUrl;
    }

    public void setPlateUrl(String plateUrl) {
        this.plateUrl = plateUrl;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPlateParkId() {
        return plateParkId;
    }

    public void setPlateParkId(String plateParkId) {
        this.plateParkId = plateParkId;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }
}
